package com.link.ppt.Model.Bean;

/**
 * Created by liucxu on 2017/11/15.
 */

public class PPTEntity {

    private String pptId;

    private String pptTitle;

    private String pptKeyword;

    private String industryId;

    private String pptUrl;

    private String createTime;

    private String fromUserName;

    private String point;

    private String fromUserId;

    private boolean isStoredPublish;

    private boolean isMyPublish;

    private String likeAlready;

    private String favAlready;

    private int myLikePoint;

    private String subscribeUserAlready;

    private String pptIconUrl;

    private String pptImgUrl;

    private String headImgUrl;

    private String email;

    public String getPptId() {
        return pptId;
    }

    public void setPptId(String pptId) {
        this.pptId = pptId;
    }

    public String getPptTitle() {
        return pptTitle;
    }

    public void setPptTitle(String pptTitle) {
        this.pptTitle = pptTitle;
    }

    public String getPptKeyword() {
        return pptKeyword;
    }

    public void setPptKeyword(String pptKeyword) {
        this.pptKeyword = pptKeyword;
    }


    public String getPptUrl() {
        return pptUrl;
    }

    public void setPptUrl(String pptUrl) {
        this.pptUrl = pptUrl;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }


    public boolean isStoredPublish() {
        return isStoredPublish;
    }

    public void setStoredPublish(boolean storedPublish) {
        isStoredPublish = storedPublish;
    }

    public boolean isMyPublish() {
        return isMyPublish;
    }

    public void setMyPublish(boolean myPublish) {
        isMyPublish = myPublish;
    }

    public String getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(String fromUserId) {
        this.fromUserId = fromUserId;
    }

    public String getLikeAlready() {
        return likeAlready;
    }

    public void setLikeAlready(String likeAlready) {
        this.likeAlready = likeAlready;
    }

    public String getFavAlready() {
        return favAlready;
    }

    public void setFavAlready(String favAlready) {
        this.favAlready = favAlready;
    }

    public boolean isLiked() {
        if ("y".equals(this.likeAlready)) {
            return true;
        }
        return false;
    }

    public boolean isFaved() {
        if ("y".equals(this.favAlready)) {
            return true;
        }
        return false;
    }

    public int getMyLikePoint() {
        return myLikePoint;
    }

    public void setMyLikePoint(int myLikePoint) {
        this.myLikePoint = myLikePoint;
    }

    public String getSubscribeUserAlready() {
        return subscribeUserAlready;
    }

    public void setSubscribeUserAlready(String subscribeUserAlready) {
        this.subscribeUserAlready = subscribeUserAlready;
    }

    public boolean isSubscribed() {
        if ("n".equals(this.subscribeUserAlready)) {
            return false;
        }
        return true;
    }

    public String getIndustryId() {
        return industryId;
    }

    public void setIndustryId(String industryId) {
        this.industryId = industryId;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public String getPptIconUrl() {
        return pptIconUrl;
    }

    public void setPptIconUrl(String pptIconUrl) {
        this.pptIconUrl = pptIconUrl;
    }

    public String getPptImgUrl() {
        return pptImgUrl;
    }

    public void setPptImgUrl(String pptImgUrl) {
        this.pptImgUrl = pptImgUrl;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
